Bing Translator Web Service
Method/V2/Soap.svc/Speak
Bing Translator Web Service > All Operations Resource Group : /V2/Soap.svc/Speak (Method)
Description
Returns a string which is a URL to a wave or mp3 stream of the passed-in text being spoken in the desired language.
Request (LanguageService_Speak_InputMessage)

The request body is of type Speak.

Request Body Parameters

NameDescriptionData Type
 xml:string
 xml:string
 xml:string
 xml:string
 xml:string
options Element format Element language Element text Element appId Element Sequence Speak Element

Overview

Sequence
appId optional xs:string
A string containing "Bearer" + " " + access token.
text optional xs:string
A string representing the text to split into sentences. The size of the text must not exceed 10000 characters.
language optional xs:string
A string representing the supported language code to speak the text in. The code must be present in the list of codes returned from the method GetLanguagesForSpeak.
format optional xs:string
A string specifying the content-type ID. Currently, “audio/wav” and “audio/mp3” are available. The default value is "audio/wav".
options optional xs:string
A string specifying the quality of the audio signals. Currently, “MaxQuality” and “MinSize” are available. With “MaxQuality”, you can get the voice(s) with the highest quality, and with “MinSize”, you can get the voices with the smallest size. If no value is provided, we default to “MinSize”.
Response (LanguageService_Speak_OutputMessage)

The response body is of type SpeakResponse.

Returns a string which is a URL to a wave or mp3 stream of the passed-in text being spoken in the desired language.

Response Body Parameters

NameDescriptionData Type
 xml:string
SpeakResult Element Sequence SpeakResponse Element

Overview

Sequence
SpeakResult optional xs:string
See Also
All Operations Resource GroupBing Translator Web Service